<?php /* Smarty version Smarty-3.1.6, created on 2018-05-24 16:16:18
         compiled from "D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\IntegralGoods\cats.html" */ ?>
<?php /*%%SmartyHeaderCode:6807181425afd76e49d7b53-61967285%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8ca2fa6201357edc61d1093db6f8873f1bf3324f' => 
    array (
      0 => 'D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\\IntegralGoods\\cats.html',
      1 => 1527149776,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6807181425afd76e49d7b53-61967285',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5afd76e4a034b',
  'variables' => 
  array (
    'pcat' => 0,
    'v' => 0,
    'scat' => 0,
    'sv' => 0,
    'sscat' => 0,
    'ssv' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5afd76e4a034b')) {function content_5afd76e4a034b($_smarty_tpl) {?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>商品分类</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="<?php echo @PUBLIC_PATH;?>
css/amazeui.min.css"/>
<link rel="stylesheet" href="<?php echo @IMAGES_PATH;?>
style.css"/>
<script src="<?php echo @PUBLIC_PATH;?>
js/jquery.min.js"></script>
<script src="<?php echo @PUBLIC_PATH;?>
js/amazeui.min.js"></script>
</head>

<body>
<div class="container">
	<!--引入头文件-->
	<?php echo $_smarty_tpl->getSubTemplate ("../header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	<script>$('.title-link').text("商品分类")</script>
    
    <div class="gray-panel" style="display: none;">
    	<div class="my-search-title-panel">
        	<div class="am-input-group">
              <input type="text" class="am-form-field am-radius">
              <span class="am-input-group-btn">
                <button class="am-btn am-radius" type="button"><span class="am-icon-search"></span></button>
              </span>
            </div>
        </div>
    </div>
    	<section data-am-widget="accordion" class="am-accordion am-accordion-gapped"
            data-am-accordion='{ "multiple": true}'>
            <!--显示一级分类-->
            <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['pcat']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
              <dl class="am-accordion-item">
                <dt class="am-accordion-title"><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</dt>
                <dd class="am-accordion-bd am-collapse">
                  <!-- 规避 Collapase 处理有 padding 的折叠内容计算计算有误问题， 加一个容器 -->
                  <div class="am-accordion-content">
                  	<!--显示二级分类-->
                  	<?php  $_smarty_tpl->tpl_vars['sv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sv']->_loop = false;
 $_smarty_tpl->tpl_vars['sk'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['scat']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sv']->key => $_smarty_tpl->tpl_vars['sv']->value){
$_smarty_tpl->tpl_vars['sv']->_loop = true;
 $_smarty_tpl->tpl_vars['sk']->value = $_smarty_tpl->tpl_vars['sv']->key;
?>
                        	<?php if ($_smarty_tpl->tpl_vars['sv']->value['parent_uid']==$_smarty_tpl->tpl_vars['v']->value['uid']){?>
                        		<!--<dt><a href="#"  class="red2 am-cf"><b><?php echo $_smarty_tpl->tpl_vars['sv']->value['title'];?>
</b></a></dd>-->
			                  	<dl class="my-category-dl">
			                    	<dt><a href="<?php echo @__CONTROLLER__;?>
/goodslist/cat_uid/<?php echo $_smarty_tpl->tpl_vars['sv']->value['uid'];?>
/cat_title/<?php echo $_smarty_tpl->tpl_vars['sv']->value['title'];?>
" class="red2 am-cf"><?php echo $_smarty_tpl->tpl_vars['sv']->value['title'];?>
</a></dt>
			                    	<!--显示三级分类-->
			                        <?php  $_smarty_tpl->tpl_vars['ssv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ssv']->_loop = false;
 $_smarty_tpl->tpl_vars['ssk'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['sscat']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ssv']->key => $_smarty_tpl->tpl_vars['ssv']->value){
$_smarty_tpl->tpl_vars['ssv']->_loop = true;
 $_smarty_tpl->tpl_vars['ssk']->value = $_smarty_tpl->tpl_vars['ssv']->key;
?>
                        				<?php if ($_smarty_tpl->tpl_vars['ssv']->value['parent_uid']==$_smarty_tpl->tpl_vars['sv']->value['uid']){?>
			                        		<dd><a href="<?php echo @__CONTROLLER__;?>
/goodslist/cat_uid/<?php echo $_smarty_tpl->tpl_vars['ssv']->value['uid'];?>
/cat_title/<?php echo $_smarty_tpl->tpl_vars['ssv']->value['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['ssv']->value['title'];?>
</a></dd>
			                        	<?php }?>
                        			<?php } ?>
			                    </dl>
                        	<?php }?>
                        <?php } ?>
                  </div>
                </dd>
              </dl>
              <?php } ?>
            </section>
    <div data-am-widget="gotop" class="am-gotop am-gotop-fixed">
      <a href="#top" title="">
        <img class="am-gotop-icon-custom" src="<?php echo @IMAGES_PATH;?>
goTop.gif" />
      </a>
    </div>
    <footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{  }">
        <hr data-am-widget="divider" style="" class="am-divider am-divider-default"/>
      <div class="am-footer-miscs ">
        <p>CopyRight©2014 AllMobilize Inc.</p>
        <p>京ICP备13033158</p>
      </div>
    </footer>
    <!--底部-->
    <?php echo $_smarty_tpl->getSubTemplate ("../footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
</body>
</html>
<?php }} ?>